#ifndef INCLUDE_BUMLSTEXT_H
#define INCLUDE_BUMLSTEXT_H

/* Use a QString here because its Unicode support is so much easier than
 * basic_string. */
#include <QString>

class BUMLSText
{
	private:
		QString _fullText;

	public:

		BUMLSText(const QString& fullText = QString());

		/*** ACCESSORS ***/

		/**
		 * Get and optionally set the full text (including formatting syntax)
		 * stored in this object.
		 */
		QString fullText() const;
		void setFullText(const QString&);

		/**
		 * Retrieve the value of the specified BUMLS key. Provide empty string
		 * for default property. (See bumls.txt for reference.)
		 */
		QString get(const QString& key) const;
};

#endif //INCLUDE_BUMLSTEXT_H

